/*
 * AudioSystem.h
 *
 *  Created on: 2009/01/31
 *      Author: Yongshik Cho
 */

#ifndef AUDIOSYSTEM_H_
#define AUDIOSYSTEM_H_

#include "core/ISingleton.h"
#include "AudioDevice.h"
#include "device/DeviceSettings.h"


class AudioSystem : public ISingleton<AudioSystem>
{
public:
	AudioSystem(DeviceSettings* sets);
	virtual ~AudioSystem();

public:
	static AudioSystem& GetInstance()
	{
		assert(m_pInstance);
		return *m_pInstance;
	}
	static AudioSystem* GetInstancePtr()
	{
		return m_pInstance;
	}

private:
	AudioDevice*		mDevice;
};

#endif /* AUDIOSYSTEM_H_ */
